package com.wc.fortnight_blue_bridge.Q240127.Q12468;

/**
 * @Author congge
 * @Date 2024/1/27 19:10
 * @description
 * https://www.lanqiao.cn/problems/12468/learning/?contest_id=166
 */
public class Main {
    public static void main(String[] args) {
        int num = 2024;
        int cnt = 0;
        for(int i = 0; i < 32; i++){
            if ((num >> i & 1) == 1){
                cnt++;
            }
        }
        System.out.println(cnt);
    }
}
